﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GMS.BIZ;

namespace Web.News
{
    public partial class WebForm4 : System.Web.UI.Page
    {
        protected void Page_LoadComplete(object sender, EventArgs e)
        {
            GMS.BIZ.News myNews = new GMS.BIZ.News();
            try
            {
                myNews = myNews.GetModel(decimal.Parse(Request.QueryString["id"].ToString()));
            }
            catch
            {
                Response.Redirect("AdminGongGao.aspx");
            }
            Label_news_title.Text = myNews.news_title.ToString();
            Label_news_content.Text = myNews.news_content.ToString();
        }
    }
}
